App\Billingo\WooCommerce\Service\Billingo_Document_Generator C

Total Complexity 121
Dependencies 18
Dependents 2
Total lines 681
Lines of code 473
Logical lines of code 238
Comment lines 51
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
createProductItems()
D
25
39 149
getShippingVatCode()
A
56 8 18
collectDocumentData()
S
46 6 35
getNote()
S
56 7 17
make()
S
51 6 26
overrideTax()
S
53 6 24
getCalculatedDateForItem()
S
54 6 19
findPartner()
S
54 5 23
selectCallback()
S
55 5 19
findOrCreatePartner()
S
48 4 33
getPartnerName()
S
62 4 11
resolvePaymentMethod()
S
57 3 18
resolvePaidType()
S
61 3 12
isForbidden()
S
66 3 8
get()
S
69 3 7
hasEraseCode()
S
66 2 8
getProductSku()
S
71 2 6
getVatRateFromCode()
S
71 2 5
getProforma()
S
65 2 9
getInvoice()
S
65 2 9
getDraft()
S
80 1 3
shouldSendEmail()
S
64 1 9
__construct()
S
72 1 5